package com.hzw.saas.service.hpc.service;

import com.hzw.saas.api.hpc.bo.HpcAccountBo;
import com.hzw.saas.service.hpc.service.query.QCloudHpcAccountQuery;

import java.util.Date;

/**
 * 青云HPC账号接口
 * @author sonam
 * @sine 2021/12/21 10:50 上午
 */
public interface IQCloudHpcAccountService {

    /**
     * 创建青云HPC账号
     * @param qCloudHpcAccountQuery
     * @return
     */
    HpcAccountBo createOrUpdateQCloudAccount(QCloudHpcAccountQuery qCloudHpcAccountQuery);

    /**
     * 创建并绑定HPC账号
     * @param qCloudHpcAccountQuery
     * @param userId
     * @param expireDate
     */
    HpcAccountBo createAndBoundQCloudAccount(QCloudHpcAccountQuery qCloudHpcAccountQuery, String userId, Date expireDate);

}
